import { defineUniPages } from '@/plugins'

export default defineUniPages({
  include: [],
  exclude: ['subpages-demo'],
  globalStyle: {
    navigationBarTextStyle: 'white',
    navigationBarTitleText: '司机配送',
    navigationBarBackgroundColor: '#4a9ff8',
    backgroundColor: '#4a9ff8',
  },
  homePage: 'pages/tabbar/my',
  tabBar: {
    color: '#666',
    // 6666666666
    selectedColor: '#4a9ff8',
    // #ifdef VUE3
    backgroundColor: '#f7f7f7',
    // #endif
    borderStyle: 'white',
    list: [
      // #ifdef APP
      {
        pagePath: 'pages/index/index',
        iconPath: 'static/images/icon-homeed.png',
        selectedIconPath: 'static/images/icon-home.png',
        text: '首页',
      },
      // #endif
      // #ifdef H5
      {
        pagePath: 'pages/task/task',
        iconPath: 'static/images/icon-tasked.png',
        selectedIconPath: 'static/images/icon-task.png',
        text: '任务',
      },
      // #endif
      // #ifdef MP
      {
        pagePath: 'pages/my/my',
        iconPath: 'static/images/icon-myed.png',
        selectedIconPath: 'static/images/icon-my.png',
        text: '我的',
      },
      // endif
    ],
  },
})
